Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Core Assembly / C1.Xamarin.Forms.Core Namespace / C1IconTemplate Class / C1IconTemplate Constructor / C1IconTemplate Constructor(Func<C1Icon>)
The function that creates the icon. New instances must be created every time.


In This Topic
    C1IconTemplate Constructor(Func<C1Icon>)
    In This Topic
    Initializes a new instance of the C1IconTemplate class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal createIcon As Func(Of C1Icon) _
    )
    'Usage
     
    
    Dim createIcon As Func(Of C1Icon)
     
    Dim instance As New C1IconTemplate(createIcon)
    public C1IconTemplate( 
       Func<C1Icon> createIcon
    )

    Parameters

    createIcon
    The function that creates the icon. New instances must be created every time.
    See Also